package com.shenzhen.horselive.api;


public class ApiException extends RuntimeException {

    public static final int AUTHORIZATION_ERROR =110 ;
    public final int errorCode;

    public ApiException(int errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}

